[INFO] fetching crate aranya-policy-vm 0.22.0...
[INFO] fixing aranya-policy-vm-0.22.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate aranya-policy-vm 0.22.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate aranya-policy-vm 0.22.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate aranya-policy-vm 0.22.0
[INFO] tweaked toml for crates.io crate aranya-policy-vm 0.22.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate aranya-policy-vm 0.22.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate aranya-policy-vm 0.22.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proptest-derive v0.5.1
[INFO] [stderr]   Downloaded thiserror-impl v2.0.7
[INFO] [stderr]   Downloaded thiserror v2.0.7
[INFO] [stderr]   Downloaded table_formatter v0.6.1
[INFO] [stderr]   Downloaded bytecheck_derive v0.8.1
[INFO] [stderr]   Downloaded aranya-policy-text-macro v0.1.0
[INFO] [stderr]   Downloaded rend v0.5.2
[INFO] [stderr]   Downloaded cpufeatures v0.2.16
[INFO] [stderr]   Downloaded munge v0.4.1
[INFO] [stderr]   Downloaded aranya-policy-text v0.1.4
[INFO] [stderr]   Downloaded rancor v0.1.0
[INFO] [stderr]   Downloaded cobs v0.2.3
[INFO] [stderr]   Downloaded bytecheck v0.8.1
[INFO] [stderr]   Downloaded sha3-utils v0.5.0
[INFO] [stderr]   Downloaded buggy v0.1.0
[INFO] [stderr]   Downloaded postcard-core v0.1.0
[INFO] [stderr]   Downloaded munge_macro v0.4.1
[INFO] [stderr]   Downloaded spideroak-crypto-derive v0.2.0
[INFO] [stderr]   Downloaded ptr_meta_derive v0.3.0
[INFO] [stderr]   Downloaded aranya-policy-module v0.21.0
[INFO] [stderr]   Downloaded ptr_meta v0.3.0
[INFO] [stderr]   Downloaded aranya-id v0.2.2
[INFO] [stderr]   Downloaded rkyv_derive v0.8.16
[INFO] [stderr]   Downloaded aranya-policy-derive v0.16.0
[INFO] [stderr]   Downloaded aranya-policy-ast v0.14.0
[INFO] [stderr]   Downloaded pest_generator v2.7.15
[INFO] [stderr]   Downloaded unicode-id v0.3.5
[INFO] [stderr]   Downloaded base64ct v1.6.0
[INFO] [stderr]   Downloaded generic-array v1.1.1
[INFO] [stderr]   Downloaded postcard v1.1.1
[INFO] [stderr]   Downloaded pest_meta v2.7.15
[INFO] [stderr]   Downloaded semver v1.0.24
[INFO] [stderr]   Downloaded pest_derive v2.7.15
[INFO] [stderr]   Downloaded annotate-snippets v0.12.10
[INFO] [stderr]   Downloaded aranya-policy-lang v0.15.0
[INFO] [stderr]   Downloaded aranya-crypto v0.14.1
[INFO] [stderr]   Downloaded proptest v1.6.0
[INFO] [stderr]   Downloaded ed25519-dalek v2.1.1
[INFO] [stderr]   Downloaded pest v2.7.15
[INFO] [stderr]   Downloaded serde_json v1.0.133
[INFO] [stderr]   Downloaded rkyv v0.8.16
[INFO] [stderr]   Downloaded markdown v1.0.0-alpha.17
[INFO] [stderr]   Downloaded p384 v0.13.0
[INFO] [stderr]   Downloaded spideroak-base58 v0.2.0
[INFO] [stderr]   Downloaded spideroak-crypto v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637
[INFO] running `Command { std: "docker" "start" "97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]    Compiling thiserror v2.0.7
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking simdutf8 v0.1.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking buggy v0.1.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling unicode-id v0.3.5
[INFO] [stderr]     Checking const-default v1.0.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling markdown v1.0.0-alpha.17
[INFO] [stderr]     Checking spideroak-base58 v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stderr]    Compiling annotate-snippets v0.12.10
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling aranya-policy-derive v0.16.0
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking cobs v0.2.3
[INFO] [stderr]     Checking postcard-core v0.1.0
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]    Compiling macro-string v0.1.4
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking p384 v0.13.0
[INFO] [stderr]    Compiling ptr_meta_derive v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.7
[INFO] [stderr]    Compiling bytecheck_derive v0.8.1
[INFO] [stderr]    Compiling munge_macro v0.4.1
[INFO] [stderr]    Compiling rkyv_derive v0.8.16
[INFO] [stderr]    Compiling aranya-policy-text-macro v0.1.0
[INFO] [stderr]    Compiling zerocopy-derive v0.8.25
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling derive-where v1.5.0
[INFO] [stderr]    Compiling spideroak-crypto-derive v0.2.0
[INFO] [stderr]     Checking ptr_meta v0.3.0
[INFO] [stderr]    Compiling rancor v0.1.0
[INFO] [stderr]     Checking munge v0.4.1
[INFO] [stderr]     Checking bytecheck v0.8.1
[INFO] [stderr]     Checking rend v0.5.2
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling pest v2.7.15
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking sha3-utils v0.5.0
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]     Checking generic-array v1.1.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking postcard v1.1.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking spideroak-crypto v0.7.0
[INFO] [stderr]     Checking rkyv v0.8.16
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]     Checking aranya-policy-text v0.1.4
[INFO] [stderr]     Checking aranya-id v0.2.2
[INFO] [stderr]     Checking aranya-policy-ast v0.14.0
[INFO] [stderr]     Checking aranya-crypto v0.14.1
[INFO] [stderr]     Checking aranya-policy-module v0.21.0
[INFO] [stderr]    Compiling aranya-policy-lang v0.15.0
[INFO] [stderr]     Checking aranya-policy-vm v0.22.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `aranya_policy_lang` in this scope
[INFO] [stdout]    --> src/serialize.rs:286:9
[INFO] [stdout]     |
[INFO] [stdout] 286 |     use aranya_policy_lang::lang::parse_policy_str;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aranya_policy_lang`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 286 -     use aranya_policy_lang::lang::parse_policy_str;
[INFO] [stdout] 286 +     use aranya_policy_ast::lang::parse_policy_str;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aranya_policy_compiler`
[INFO] [stdout]    --> src/serialize.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use aranya_policy_compiler::Compiler;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aranya_policy_compiler`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 285 -     use aranya_policy_compiler::Compiler;
[INFO] [stdout] 285 +     use aranya_policy_module::Compiler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `aranya_policy_module::ExitReason` in the current scope
[INFO] [stdout]    --> src/tests.rs:296:39
[INFO] [stdout]     |
[INFO] [stdout] 296 |     rs.run().expect("Should succeed").success();
[INFO] [stdout]     |                                       ^^^^^^^ method not found in `aranya_policy_module::ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `aranya_policy_lang` in this scope
[INFO] [stdout]   --> tests/vm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use aranya_policy_lang::lang::parse_policy_str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aranya_policy_lang`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 11 - use aranya_policy_lang::lang::parse_policy_str;
[INFO] [stdout] 11 + use aranya_policy_ast::lang::parse_policy_str;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aranya_policy_compiler`
[INFO] [stdout]   --> tests/vm.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use aranya_policy_compiler::Compiler;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aranya_policy_compiler`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 10 - use aranya_policy_compiler::Compiler;
[INFO] [stdout] 10 + use aranya_policy_module::Compiler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aranya_policy_vm::ffi::ffi`
[INFO] [stdout]   --> tests/ffi.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ffi::{FfiModule, Type, Typed, ffi},
[INFO] [stdout]    |                                   ^^^ no `ffi` in `ffi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these modules instead:
[INFO] [stdout]            crate::aranya_policy_vm::ffi
[INFO] [stdout]            std::ffi
[INFO] [stdout]            std::os::unix::ffi
[INFO] [stdout]            core::ffi
[INFO] [stdout]            aranya_policy_module::ffi
[INFO] [stdout]            aranya_policy_vm::ffi
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `__test_ffi`
[INFO] [stdout]    --> tests/ffi.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 |         use __test_ffi::{S0, S1, S2};
[INFO] [stdout]     |             ^^^^^^^^^^ use of unresolved module or unlinked crate `__test_ffi`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `__test_ffi`, use `cargo add __test_ffi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `__test_ffi`
[INFO] [stdout]    --> tests/ffi.rs:443:13
[INFO] [stdout]     |
[INFO] [stdout] 443 |         use __test_ffi::TestEnum;
[INFO] [stdout]     |             ^^^^^^^^^^ use of unresolved module or unlinked crate `__test_ffi`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `__test_ffi`, use `cargo add __test_ffi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:174:7
[INFO] [stdout]     |
[INFO] [stdout] 174 |     #[ffi_export(def = "function add2(x int, y int) int")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:179:7
[INFO] [stdout]     |
[INFO] [stdout] 179 |     #[ffi_export(def = "function sub2(x int, y int) int")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:184:7
[INFO] [stdout]     |
[INFO] [stdout] 184 |     #[ffi_export(def = "function concat(a string, b string) string")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:195:7
[INFO] [stdout]     |
[INFO] [stdout] 195 |     #[ffi_export(def = "function renamed_identity(id_input id) id")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:205:7
[INFO] [stdout]     |
[INFO] [stdout] 205 |     #[ffi_export(def = "function no_args() int")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:210:7
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[ffi_export(def = "function custom_type(label int) int")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     #[ffi_export(def = "function custom_type_optional(label option[int]) option[int]")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:230:7
[INFO] [stdout]     |
[INFO] [stdout] 230 |     #[ffi_export(def = "function custom_def(a int, b bytes) bool")]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:240:7
[INFO] [stdout]     |
[INFO] [stdout] 240 |     #[ffi_export(def = r#"
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:260:7
[INFO] [stdout]     |
[INFO] [stdout] 260 |     #[ffi_export(def = r#"function test_enum(e enum TestEnum) enum TestEnum"#)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ffi_export` in this scope
[INFO] [stdout]    --> tests/ffi.rs:269:7
[INFO] [stdout]     |
[INFO] [stdout] 269 |     #[ffi_export(def = r#"function test_result(r result[int, string]) result[int, string]"#)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S0` in this scope
[INFO] [stdout]    --> tests/ffi.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 |         a: S0,
[INFO] [stdout]     |            ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S1` in this scope
[INFO] [stdout]    --> tests/ffi.rs:250:12
[INFO] [stdout]     |
[INFO] [stdout] 250 |         b: S1,
[INFO] [stdout]     |            ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S2` in this scope
[INFO] [stdout]    --> tests/ffi.rs:251:17
[INFO] [stdout]     |
[INFO] [stdout] 251 |     ) -> Result<S2, Infallible> {
[INFO] [stdout]     |                 ^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl<T, G, S2> TestModule<'_, T, G> {
[INFO] [stdout]     |          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `S2` in this scope
[INFO] [stdout]    --> tests/ffi.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 |         Ok(S2 { a, b })
[INFO] [stdout]     |            ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TestEnum` in this scope
[INFO] [stdout]    --> tests/ffi.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 264 |         e: TestEnum,
[INFO] [stdout]     |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TestEnum` in this scope
[INFO] [stdout]    --> tests/ffi.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |     ) -> Result<TestEnum, MachineError> {
[INFO] [stdout]     |                 ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl<T, G, TestEnum> TestModule<'_, T, G> {
[INFO] [stdout]     |          ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:130:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | /         call_action(
[INFO] [stdout] 125 | |             &mut rs,
[INFO] [stdout] 126 | |             &mut published,
[INFO] [stdout] 127 | |             name,
[INFO] [stdout] 128 | |             [Value::Id(BaseId::default()), Value::Bytes(vec![0, 255, 42])],
[INFO] [stdout] 129 | |         )?
[INFO] [stdout] 130 | |         .success();
[INFO] [stdout]     | |         -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aranya-policy-vm` (lib test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:193:10
[INFO] [stdout]     |
[INFO] [stdout] 187 | /         call_action(
[INFO] [stdout] 188 | |             &mut rs,
[INFO] [stdout] 189 | |             &mut published,
[INFO] [stdout] 190 | |             name,
[INFO] [stdout] 191 | |             [Value::Id(BaseId::default()), Value::Int(3)],
[INFO] [stdout] 192 | |         )?
[INFO] [stdout] 193 | |         .success();
[INFO] [stdout]     | |         -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:218:67
[INFO] [stdout]     |
[INFO] [stdout] 218 |     call_action(&mut rs, &mut published, name, [Value::from(3)])?.success();
[INFO] [stdout]     |                                                                   ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:278:75
[INFO] [stdout]     |
[INFO] [stdout] 278 |     call_action(&mut rs, &mut published, action_name, Vec::<i64>::new())?.success();
[INFO] [stdout]     |                                                                           ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:307:10
[INFO] [stdout]     |
[INFO] [stdout] 304 | /     machine
[INFO] [stdout] 305 | |         .call_command_policy(this_data, dummy_envelope(), &mut io, ctx)
[INFO] [stdout] 306 | |         .expect("Could not call command policy")
[INFO] [stdout] 307 | |         .success();
[INFO] [stdout]     | |         -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestModule<'_, (), ()>: FfiModule` is not satisfied
[INFO] [stdout]    --> tests/ffi.rs:285:36
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let mut state = TestState::new(TestModule::<'_, (), ()>::new());
[INFO] [stdout]     |                     -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FfiModule` is not implemented for `TestModule<'_, (), ()>`
[INFO] [stdout]    --> tests/ffi.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `TestState::<M, DefaultEngine>::new`
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^ required by this bound in `TestState::<M, DefaultEngine>::new`
[INFO] [stdout]  33 |     fn new(module: M) -> Self {
[INFO] [stdout]     |        --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:394:14
[INFO] [stdout]     |
[INFO] [stdout] 392 | /         machine
[INFO] [stdout] 393 | |             .call_command_policy(self_struct, dummy_envelope(), &mut io, ctx)?
[INFO] [stdout] 394 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:289:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 289 |         state.push(1i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:290:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 290 |         state.push(2i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:407:14
[INFO] [stdout]     |
[INFO] [stdout] 405 | /         machine
[INFO] [stdout] 406 | |             .call_command_policy(self_struct, dummy_envelope(), &mut io, ctx)?
[INFO] [stdout] 407 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:291:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 291 |         state.call("add2").expect("`test::add2` should not fail");
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:292:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 292 |         let got = state.pop::<i64>().expect("should have got an `i64`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:426:14
[INFO] [stdout]     |
[INFO] [stdout] 424 | /         machine
[INFO] [stdout] 425 | |             .call_command_policy(self_struct, dummy_envelope(), &mut io, ctx)?
[INFO] [stdout] 426 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:294:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 294 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:433:14
[INFO] [stdout]     |
[INFO] [stdout] 431 | /         machine
[INFO] [stdout] 432 | |             .call_command_policy(self_struct, dummy_envelope(), &mut io, ctx)?
[INFO] [stdout] 433 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:299:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 299 |         state.push(i64::MAX);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:300:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 300 |         state.push(1i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:302:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 301 |           let err = state
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 302 | |             .call("add2")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:455:18
[INFO] [stdout]     |
[INFO] [stdout] 453 | /             machine
[INFO] [stdout] 454 | |                 .call_command_policy(self_struct, dummy_envelope(), &mut io, ctx)?
[INFO] [stdout] 455 | |                 .success();
[INFO] [stdout]     | |                 -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:309:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 309 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:314:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 314 |         state.push(10i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:315:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 315 |         state.push(2i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:529:14
[INFO] [stdout]     |
[INFO] [stdout] 528 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 529 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:316:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 316 |         state.call("sub2").expect("`test::sub2` should not fail");
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:317:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 317 |         let got = state.pop::<i64>().expect("should have got an `i64`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:536:77
[INFO] [stdout]     |
[INFO] [stdout] 536 |         call_action(&mut rs, &mut published, name, iter::empty::<Value>())?.success();
[INFO] [stdout]     |                                                                             ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:319:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 319 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:324:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 324 |         state.push(i64::MIN);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:325:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 325 |         state.push(2i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:618:14
[INFO] [stdout]     |
[INFO] [stdout] 617 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 618 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:327:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 326 |           let err = state
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 327 | |             .call("sub2")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 334 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:628:14
[INFO] [stdout]     |
[INFO] [stdout] 627 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 628 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:339:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 339 |         state.push(text!("hello, "));
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:340:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 340 |         state.push(text!("world!"));
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:638:14
[INFO] [stdout]     |
[INFO] [stdout] 637 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 638 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:342:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 341 | /         state
[INFO] [stdout] 342 | |             .call("concat")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:344:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 344 |         let got = state.pop::<Text>().expect("should have got a `String`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:349:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 349 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:648:14
[INFO] [stdout]     |
[INFO] [stdout] 647 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 648 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:357:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 357 |         state.push(b);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:358:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 358 |         state.push(a);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:658:14
[INFO] [stdout]     |
[INFO] [stdout] 657 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 658 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:362:18
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 361 | /             state
[INFO] [stdout] 362 | |                 .call("renamed_identity")
[INFO] [stdout]     | |                 -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:364:29
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 364 |             let got = state.pop::<BaseId>().expect("should have got an ID");
[INFO] [stdout]     |                             ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:733:14
[INFO] [stdout]     |
[INFO] [stdout] 732 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 733 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:369:30
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `len` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 369 |             assert_eq!(state.len(), len, "should be one argument remaining");
[INFO] [stdout]     |                              ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `len`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `Len`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:375:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 375 |         state.push(text!("existing arg"));
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:743:14
[INFO] [stdout]     |
[INFO] [stdout] 742 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 743 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:377:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 376 | /         state
[INFO] [stdout] 377 | |             .call("no_args")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:379:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 379 |         let got = state.pop::<i64>().expect("should have got an `i64`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:825:14
[INFO] [stdout]     |
[INFO] [stdout] 824 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 825 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:385:26
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `len` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 385 |         assert_eq!(state.len(), 1, "should be one item on the stack");
[INFO] [stdout]     |                          ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `len`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `Len`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:386:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 386 |         let got = state.pop::<Text>().expect("should have got a `String`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:833:14
[INFO] [stdout]     |
[INFO] [stdout] 832 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 833 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:392:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 392 |         state.push(TestModule::<(), ()>::CUSTOM_TYPE_ARG);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:394:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 393 | /         state
[INFO] [stdout] 394 | |             .call("custom_type")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:396:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 396 |         let got = state.pop::<Label>().expect("should have got a `Label`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:841:14
[INFO] [stdout]     |
[INFO] [stdout] 840 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 841 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:402:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 402 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:407:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 407 |         state.push(0i64);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:884:14
[INFO] [stdout]     |
[INFO] [stdout] 883 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 884 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:408:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 408 |         state.push(Vec::new());
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:410:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 409 | /         state
[INFO] [stdout] 410 | |             .call("custom_def")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:412:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 412 |         let got = state.pop::<bool>().expect("should have got a `bool`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:892:14
[INFO] [stdout]     |
[INFO] [stdout] 891 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 892 | |             .success();
[INFO] [stdout]     | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:414:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 414 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:431:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 431 |         state.push(a.clone());
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:432:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 432 |         state.push(b.clone());
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:913:51
[INFO] [stdout]     |
[INFO] [stdout] 913 |     rs.call_action(name, iter::empty::<Value>())?.success();
[INFO] [stdout]     |                                                   ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:434:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 433 | /         state
[INFO] [stdout] 434 | |             .call("struct_fn")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:436:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 436 |         let got = state.pop::<S2>().expect("should have got an `S2`");
[INFO] [stdout]     |                         ^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:438:23
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `is_empty` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 438 |         assert!(state.is_empty());
[INFO] [stdout]     |                       ^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `is_empty`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout]             candidate #2: `RangeBounds`
[INFO] [stdout]             candidate #3: `aead::Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:956:36
[INFO] [stdout]     |
[INFO] [stdout] 956 |     rs.call_action(name, [false])?.success();
[INFO] [stdout]     |                                    ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:445:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 445 |         state.push(TestEnum::A);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:447:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 446 | /         state
[INFO] [stdout] 447 | |             .call("test_enum")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]    --> tests/vm.rs:998:66
[INFO] [stdout]     |
[INFO] [stdout] 998 |         call_action(&mut rs, &mut published, name.clone(), [i])?.success();
[INFO] [stdout]     |                                                                  ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:450:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 449 |           let got = state
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 450 | |             .pop::<TestEnum>()
[INFO] [stdout]     | |             -^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:458:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 458 |         state.push(TestEnum::B);
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:460:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 459 | /         state
[INFO] [stdout] 460 | |             .call("test_enum")
[INFO] [stdout]     | |             -^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:463:14
[INFO] [stdout]     |
[INFO] [stdout]  25 |   struct TestState<M, E> {
[INFO] [stdout]     |   ---------------------- method `pop` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |   struct TestModule<'a, T, G> {
[INFO] [stdout]     |   --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 462 |           let got = state
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 463 | |             .pop::<TestEnum>()
[INFO] [stdout]     | |             -^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `pop`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout]             candidate #2: `postcard::de_flavors::Flavor`
[INFO] [stdout]             candidate #3: `postcard_core::de::Flavor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1017:54
[INFO] [stdout]      |
[INFO] [stdout] 1017 |     call_action(&mut rs, &mut published, name, [5])?.success();
[INFO] [stdout]      |                                                      ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:474:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 474 |         state.push(Value::Result(Ok(Box::new(Value::Int(42)))));
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:475:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 475 |         state.call("test_result").unwrap();
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1034:54
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     call_action(&mut rs, &mut published, name, [6])?.success();
[INFO] [stdout]      |                                                      ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop_value` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:476:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop_value` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 476 |         let got = state.pop_value().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `pop_value`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:480:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 480 |         state.push(Value::Result(Err(Box::new(Value::String(text!("hello"))))));
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:481:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 481 |         state.call("test_result").unwrap();
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1051:56
[INFO] [stdout]      |
[INFO] [stdout] 1051 |     call_action(&mut rs, &mut published, name, [100])?.success();
[INFO] [stdout]      |                                                        ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop_value` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:482:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `pop_value` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 482 |         let got = state.pop_value().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `pop_value`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:486:15
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `push` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 486 |         state.push(Value::Result(Ok(Box::new(Value::Int(i64::MAX)))));
[INFO] [stdout]     |               ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied
[INFO] [stdout]    --> tests/ffi.rs:32:9
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl<M: FfiModule> TestState<M, DefaultEngine<Rng>> {
[INFO] [stdout]     |         ^^^^^^^^^  --------------------------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `push`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState<TestModule<'_, (), ()>, DefaultEngine>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/ffi.rs:487:25
[INFO] [stdout]     |
[INFO] [stdout]  25 | struct TestState<M, E> {
[INFO] [stdout]     | ---------------------- method `call` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 | struct TestModule<'a, T, G> {
[INFO] [stdout]     | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] ...
[INFO] [stdout] 487 |         let err = state.call("test_result").unwrap_err();
[INFO] [stdout]     |                         ^^^^ method cannot be called on `TestState<TestModule<'_, (), ()>, DefaultEngine>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `TestModule<'_, (), ()>: FfiModule`
[INFO] [stdout] note: the trait `FfiModule` must be implemented
[INFO] [stdout]    --> src/ffi.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub trait FfiModule {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `call`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `FfiModule`
[INFO] [stdout]             candidate #2: `Fn`
[INFO] [stdout]             candidate #3: `MachineIO`
[INFO] [stdout]             candidate #4: `cipher::block::BlockClosure`
[INFO] [stdout]             candidate #5: `cipher::stream_core::StreamClosure`
[INFO] [stdout]             candidate #6: `universal_hash::UhfClosure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1089:73
[INFO] [stdout]      |
[INFO] [stdout] 1089 |     call_action(&mut rs, &mut published, action_name, [Value::Int(6)])?.success();
[INFO] [stdout]      |                                                                         ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1125:66
[INFO] [stdout]      |
[INFO] [stdout] 1125 |     call_action(&mut rs, &mut published, name, [Value::Int(6)])?.success();
[INFO] [stdout]      |                                                                  ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1153:33
[INFO] [stdout]      |
[INFO] [stdout] 1153 |     rs.call_action(name, [42])?.success();
[INFO] [stdout]      |                                 ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aranya-policy-vm` (test "ffi") due to 82 previous errors
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1183:80
[INFO] [stdout]      |
[INFO] [stdout] 1183 |         call_action(&mut rs, &mut published, name.clone(), [Value::Int(arg)])?.success();
[INFO] [stdout]      |                                                                                ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1200:61
[INFO] [stdout]      |
[INFO] [stdout] 1200 |     call_action(&mut rs, &mut published, name, [Some(10)])?.success();
[INFO] [stdout]      |                                                             ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1218:64
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     call_action(&mut rs, &mut published, name, [Value::NONE])?.success();
[INFO] [stdout]      |                                                                ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1244:42
[INFO] [stdout]      |
[INFO] [stdout] 1244 |     rs.call_action(name, [true, false])?.success();
[INFO] [stdout]      |                                          ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1278:58
[INFO] [stdout]      |
[INFO] [stdout] 1278 |         call_action(&mut rs, &mut published, name, [3])?.success();
[INFO] [stdout]      |                                                          ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1322:14
[INFO] [stdout]      |
[INFO] [stdout] 1320 | /         machine
[INFO] [stdout] 1321 | |             .call_command_policy(self_struct, dummy_envelope(), &mut io, ctx)?
[INFO] [stdout] 1322 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1380:44
[INFO] [stdout]      |
[INFO] [stdout] 1380 |         rs.call_seal(this_struct.clone())?.success();
[INFO] [stdout]      |                                            ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1400:39
[INFO] [stdout]      |
[INFO] [stdout] 1400 |         rs.call_open(name, envelope)?.success();
[INFO] [stdout]      |                                       ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1505:14
[INFO] [stdout]      |
[INFO] [stdout] 1504 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 1505 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1513:14
[INFO] [stdout]      |
[INFO] [stdout] 1512 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 1513 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1577:14
[INFO] [stdout]      |
[INFO] [stdout] 1576 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 1577 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1586:14
[INFO] [stdout]      |
[INFO] [stdout] 1585 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 1586 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1595:14
[INFO] [stdout]      |
[INFO] [stdout] 1594 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 1595 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1604:14
[INFO] [stdout]      |
[INFO] [stdout] 1603 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 1604 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1613:14
[INFO] [stdout]      |
[INFO] [stdout] 1612 | /         rs.call_action(action_name, iter::empty::<Value>())?
[INFO] [stdout] 1613 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1699:10
[INFO] [stdout]      |
[INFO] [stdout] 1689 | /         rs.call_command_policy(
[INFO] [stdout] 1690 | |             Struct::new(
[INFO] [stdout] 1691 | |                 ident!("Foo"),
[INFO] [stdout] 1692 | |                 [KVPair::new(ident!("test"), test_data.clone().into())],
[INFO] [stdout] ...    |
[INFO] [stdout] 1698 | |         )?
[INFO] [stdout] 1699 | |         .success();
[INFO] [stdout]      | |         -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1717:10
[INFO] [stdout]      |
[INFO] [stdout] 1706 | /         rs.call_command_recall(
[INFO] [stdout] 1707 | |             Struct::new(
[INFO] [stdout] 1708 | |                 ident!("Foo"),
[INFO] [stdout] 1709 | |                 [KVPair::new(ident!("test"), test_data.clone().into())],
[INFO] [stdout] ...    |
[INFO] [stdout] 1716 | |         )?
[INFO] [stdout] 1717 | |         .success();
[INFO] [stdout]      | |         -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1876:73
[INFO] [stdout]      |
[INFO] [stdout] 1876 |     call_action(&mut rs, &mut published, name, iter::empty::<Value>())?.success();
[INFO] [stdout]      |                                                                         ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:1941:6
[INFO] [stdout]      |
[INFO] [stdout] 1933 | /     call_action(
[INFO] [stdout] 1934 | |         &mut rs,
[INFO] [stdout] 1935 | |         &mut published,
[INFO] [stdout] 1936 | |         name,
[INFO] [stdout] ...    |
[INFO] [stdout] 1940 | |     )?
[INFO] [stdout] 1941 | |     .success();
[INFO] [stdout]      | |     -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2125:77
[INFO] [stdout]      |
[INFO] [stdout] 2125 |         call_action(&mut rs, &mut published, name, iter::empty::<Value>())?.success();
[INFO] [stdout]      |                                                                             ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2140:14
[INFO] [stdout]      |
[INFO] [stdout] 2139 | /         rs.call_command_policy(self_struct, dummy_envelope())?
[INFO] [stdout] 2140 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2150:81
[INFO] [stdout]      |
[INFO] [stdout] 2150 |             call_action(&mut rs, &mut published, name, iter::empty::<Value>())?.success();
[INFO] [stdout]      |                                                                                 ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2334:6
[INFO] [stdout]      |
[INFO] [stdout] 2321 | /     call_action(
[INFO] [stdout] 2322 | |         &mut rs,
[INFO] [stdout] 2323 | |         &mut published,
[INFO] [stdout] 2324 | |         action_name,
[INFO] [stdout] ...    |
[INFO] [stdout] 2333 | |     )?
[INFO] [stdout] 2334 | |     .success();
[INFO] [stdout]      | |     -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2385:6
[INFO] [stdout]      |
[INFO] [stdout] 2369 | /     call_action(
[INFO] [stdout] 2370 | |         &mut rs,
[INFO] [stdout] 2371 | |         &mut published,
[INFO] [stdout] 2372 | |         action_name,
[INFO] [stdout] ...    |
[INFO] [stdout] 2384 | |     )?
[INFO] [stdout] 2385 | |     .success();
[INFO] [stdout]      | |     -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2603:51
[INFO] [stdout]      |
[INFO] [stdout] 2603 |     rs.call_action(name, iter::empty::<Value>())?.success();
[INFO] [stdout]      |                                                   ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2635:51
[INFO] [stdout]      |
[INFO] [stdout] 2635 |     rs.call_action(name, iter::empty::<Value>())?.success();
[INFO] [stdout]      |                                                   ^^^^^^^ method not found in `ExitReason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2700:14
[INFO] [stdout]      |
[INFO] [stdout] 2699 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 2700 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2720:14
[INFO] [stdout]      |
[INFO] [stdout] 2719 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 2720 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2782:14
[INFO] [stdout]      |
[INFO] [stdout] 2781 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 2782 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope
[INFO] [stdout]     --> tests/vm.rs:2799:14
[INFO] [stdout]      |
[INFO] [stdout] 2798 | /         rs.call_command_policy(this_data, dummy_envelope())?
[INFO] [stdout] 2799 | |             .success();
[INFO] [stdout]      | |             -^^^^^^^ method not found in `ExitReason`
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aranya-policy-vm` (test "vm") due to 65 previous errors
[INFO] running `Command { std: "docker" "inspect" "97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637", kill_on_drop: false }`
[INFO] [stdout] 97030079bb6fa2ba616162a7324a35873532456eab55cdafd178a05026f3b637
